package com.example.jococojenkins.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HouCunLu
 * @description: TODO
 * @date 2022-3-26下午 3:41
 */
@RestController
@Slf4j
public class TestController {


    @GetMapping("/test/{number}")
    public void test(@PathVariable Integer number) {
        double aa = 10 / number;
        log.info("结果--------》" + aa);
    }


}
